#include ".\SampleFrameWork.h"

RB3DFrameWork::RB3DFrameWork(void)
{
}

RB3DFrameWork::~RB3DFrameWork(void)
{
}

void RB3DFrameWork::Init(HWND hWnd)
{
	VK3D::Init(hWnd);
	m_InputSystem.SetHWND(hWnd);
}

void RB3DFrameWork::InsertInputHandler(RBInputHandler* pHandler)
{
	m_InputSystem.InsertHandler(pHandler);
}

void RB3DFrameWork::RemoveInputHandler(RBInputHandler* pHandler)
{
	m_InputSystem.RemoveHandler(pHandler);
}

void RB3DFrameWork::Loop()
{
	m_InputSystem.UpdateHandlerProc();
	Render();
}